PrizmDoc
Configuring Image Frame Rendering in PDF Conversion Service

The PDF format specification defines five separate "Page Boundaries" that control various aspects of the imaging process. The PDF Conversion Service supports "Media box" or "Crop box" to convert a source PDF document image(s). The PDF Conversion Service configuration file allows setting what boundary is used. By default, the PDF Conversion Service is configured to use the "Media box" boundary.

To modify the page boundary setting using central configuration:

  1. Open the central config file.
  2. Set the fileTypes.pdf.pageBoundaries property value to “mediabox” or “cropbox”.
    The useCropBox property is optional. If the config file does not contain the property, then the service uses the "Media box" boundary for PDF document conversion.
    Example
    Copy Code
    fileTypes.pdf.pageBoundaries: mediaBox
    
       
  3. Restart PrizmDoc.
The setting of this parameter can affect conversions from PDF to SVG, PNG and JPG.
The following configuration properties have been deprecated and will be removed in a future release. Alter these properties only if not using the central configuration file.

To modify the page boundary setting using legacy configuration:

  1. Open the config file:
  1. Set the useCropBox property value to true to enable "Crop Box" boundary usage. (Or set the property to false to use "Media box".)
The useCropBox property is optional. If the config file does not contain the property, then the service uses the "Media box" boundary for PDF document conversion.
Example
Copy Code
{
      ...
         "useCropBox":true,
      ...
}
  1. Restart PrizmDoc.
The Config file "useCropBox" property is supported starting with PrizmDoc v9.1.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback